home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.rexx
- From: Alex Malmygin <Alex_Malmygin@p29.f376.n5020.z2.fidonet.org>
- Message-ID: <30e811e1@p29.f376.n5020.z2.fidonet.org>
- References: <39BB8DC1@p0.f128.n50.z2.fidonet.org>
- Path: gate.phantom.ru!echogate
- Subject: OS/2 Rexx: How to get boot drive ?
- Sender: u1@gate.phantom.ru
- Date: Mon, 1 Jan 1996 16:51:21 +0300
- X-Gate: U1 1.99f [OS2/C Set]
- Organization: Samuray's Castle BBS (Gid:fidonet.org)
- X-FTN-MsgId: 2:5020/376.29@FidoNet 30e811e1
- X-FTN-Reply: 2:50/128.0@fidonet 39BB8DC1
-
- Hello All!
-
- Saturday December 30 1995 23:04, loren@usair.com wrote to All:
-
- >> How can I get the drive letter of the boot drive using REXX for OS/2 ?
-
- The quite simple solution is given in \OS2\SRD2FIX.CMD:
-
- /* get boot drive letter from environment */
- BootDrive=left(value('COMSPEC',,'OS2ENVIRONMENT'),2)
-
-
- WBR, WBW, always |) or B)
- Alex AKA Tarzan ₧òö{ Team OS/2, DooM][, BeeR }öò₧
-
- --- GoldED/2 2.50+
- * Origin: Samuray's Castle BBS (2:5020/376.29)
-